package be.ipl.eBar.usecases;

import javax.ejb.Remote;

import be.ipl.eBar.domaine.Biere;
import be.ipl.eBar.domaine.Commande;
import be.ipl.eBar.exceptions.ArgumentInvalideException;
import be.ipl.eBar.exceptions.EtatConversationnelIncompletException;

@Remote
public interface GestionDUneCommande {
	void setCommande(Commande commande) throws ArgumentInvalideException;

	Commande ajouterBiere(Biere biere, int quantite)
			throws EtatConversationnelIncompletException;

	Commande supprimerBiere(Biere biere, int quantite)
			throws EtatConversationnelIncompletException;

	Commande sauverCommande() throws EtatConversationnelIncompletException;
}
